package com.weipai.education.dao;

import com.weipai.education.model.UserEarnings;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @Author: 曹朋飞
 * @Date: 2018/12/18 18:53
 */
public interface UserEarningsDao {
    List<Map<String,Object>> list(Integer start, Integer size, String type, String accountNumber, String startTime, String endTime, String userId);

    Integer listAmount(String type, String accountNumber, String startTime, String endTime, String userId);
    
    BigDecimal getAllRewardPrice(String month, String userId,Integer type);
    
    BigDecimal getDifferentRewardPrice(List<Integer> type, String userId);

    int insert(UserEarnings earnings);
}
